//
//  huancunCell.m
//  Focus
//
//  Created by dlios on 14-11-9.
//  Copyright (c) 2014年 lanou3g.com 蓝鸥科技. All rights reserved.
//

#import "huancunCell.h"

@implementation huancunCell
-(void)dealloc{
    [super dealloc];
    [_label release];
    [_button release];
}
- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        // Initialization code
        UILabel *label = [[UILabel alloc]initWithFrame:CGRectZero];
        self.label = label;
        [label release];
        [self.contentView addSubview:self.label];
        
        self.button = [[UIButton alloc]initWithFrame:CGRectZero];
        [self.contentView addSubview:self.button];
    }
    return self;
}
-(void)layoutSubviews{
    [super layoutSubviews];
    self.label.frame = CGRectMake(130, 15, 60, 20);
    self.label.font = [UIFont systemFontOfSize:14];
    self.button.frame = CGRectMake(5, -5, 60, 60);

}
//-(void)change:(id)button{
//    [self.delegate change:self];
//    
//    
//}
- (void)awakeFromNib
{
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated
{
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
